package com.chezhujie.www.domain;

import com.xy.core.init.mysql.BaseEntity;
import com.xy.core.init.mysql.annotation.Column;
import com.xy.core.init.mysql.annotation.Entity;
import com.xy.core.init.mysql.annotation.Id;
import com.xy.core.init.mysql.annotation.Table;

/**
 * Created by 汤伟杰 on 2017/5/31.
 */
@Entity
@Table(name="czj_area",describe = "区域")
public class Czjarea extends BaseEntity{
    @Id
    @Column(describe = "主键",inputType = "hidden")
    private Integer id;
    @Column(describe = "行政代号",inputType = "int")
    private Integer areaID;
    @Column(describe = "区域",inputType = "text")
    private String area;
    @Column(describe = "城市",inputType = "select",inputCode = "int")
    private Integer fatherID;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getAreaID() {
        return areaID;
    }

    public void setAreaID(Integer areaID) {
        this.areaID = areaID;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public Integer getFatherID() {
        return fatherID;
    }

    public void setFatherID(Integer fatherID) {
        this.fatherID = fatherID;
    }
}
